package com.sfx.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created with IntelliJ IDEA.
* Description:
* User: sfx
* Date: 2023-07-14
* Time: 17:23
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sg_tag")
public class Tag {
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 标签名
     */
    @TableField(value = "`name`")
    private String name;

    @TableField(value = "create_by")
    private Long createBy;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_by")
    private Long updateBy;

    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除标志（0代表未删除，1代表已删除）
     */
    @TableField(value = "del_flag")
    private Integer delFlag;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}